<template>
  <view>
    <u-navbar title="联系客服" back-icon-size="34" title-size="36" :border-bottom="false" title-color="#222222" back-icon-color="#222222"></u-navbar>
    <view class="" style="padding: 28rpx">
      <rich-text :nodes="call_phone"></rich-text>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      type: null,
      data: {},
      call_phone: ''
    };
  },
  methods: {
    kefu() {
      this.api({
        url: '/api/user/index',
        method: 'post'
      }).then((res) => {
        this.call_phone = res.data.call_phone;
      });
    }
  },
  onLoad(op) {
    this.kefu();
  }
};
</script>

<style>
page {
  background: #f8f8f8;
}
</style>
